@layout("/common/_container.html",{js:["/assets/modular/system/btyCwJs/btyCwJs.js"],css:["/assets/common/css/beautiful.css"]}){
<style>
    .layui-form-label{
        width: 60px !important;
    }
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">货赔酒水单价表管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">日期</label>
                                <div class="layui-inline lablew">
                                    <input id="date" class="layui-input" type="text" autocomplete="off" placeholder="日期"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">编号</label>
                                <div class="layui-inline lablew">
                                    <input id="proCode" class="layui-input" type="text" placeholder="请输入编号" style="width: 120px"  autocomplete="off"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <div class="layui-inline">
                                    <label class="layui-form-label">类别</label>
                                    <div class="layui-inline lablew">
                                        <select id="className"  name="className" lay-filter="className" lay-search="">
                                            <option value="">品项类别名称</option>
                                            <option value="0">酒水</option>
                                            <option value="1">自采酒水</option>
                                            <option value="2">酱料</option>
                                            <option value="3">冻货</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">品相</label>
                                <div class="layui-inline lablew">
                                    <input id="proName" class="layui-input" type="text" placeholder="请输入品相名称" style="width: 120px"  autocomplete="off"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn layui-btn-sm marrig">搜索</button>
                                <button id="btnAdd" class="layui-btn layui-btn-sm">添加酒水单价</button>
                                <button id="btnAddDh" class="layui-btn layui-btn-sm">添加冻货与酱料单价</button>
<!--                                <button id="btnExp" class="layui-btn layui-btn-sm"><i class="layui-icon">&#xe67d;</i>导出</button>-->
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="btyCwJsTable" lay-filter="btyCwJsTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    {{#  if(d.proCode == ""){ }}
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="editDh">修改</a>
    {{#  } }}
    {{#  if(d.proCode != ""){ }}
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    {{#  } }}
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
@}